/**
 * @description 项目全局变量配置
 */
const setting = {
    publicPath: "./",
    outputDir: "dist",
    assetsDir: "static",
    lintOnSave: true,
    transpileDependencies: ["resize-detector"],
    baseURL:
        process.env.NODE_ENV === "development"
            ? "mock"
            : "",
    title: "danduola-template",
    devPort: "8080",
    version: process.env.VUE_APP_VERSION,
    copyright: process.env.VUE_APP_AUTHOR,
    routerMode: 'hash',
    tokenName: "accessToken",
    tokenTableName: "accessToken",
    storage: "localStorage",
    contentType: "application/json;charset=UTF-8",
    messageDuration: 3000,
    requestTimeout: 10000,
    successCode: [200, 0],
    invalidCode: 402,
    noPermissionCode: 401,
    errorLog: ["development"],
    loginInterception: true,
    uniqueOpened: true,
    build7z: false,
    templateFolder: "project"
};
module.exports = setting;
